<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>湖北省商务厅</title>
<link rel="stylesheet" href="/css/reset.css" />
<link rel="stylesheet" href="/css/text.css" />
<link rel="stylesheet" href="/css/960.css" />
<link rel="stylesheet" href="/css/main.css" />
<link rel="stylesheet" href="/css/flash.css" />
<style type="text/css">
	.div_topflash{ text-align:center; margin:auto;}
	#au img{width:290px;height:220px;border:none;}
</style>
<script type="text/javascript">
	var n=0;
	function Mea(value){
		n=value;
		setBg(value);
		plays(value);
		conaus(n);
	}
	function setBg(value){
		for(var i=0;i<6;i++){
			document.getElementById("t"+i+"").className="bg";
		}
		document.getElementById("t"+value+"").className="active";
	}
	function plays(value){
		try
		{
			with (au){
				filters[0].Apply();
				for(i=0;i<6;i++)
					i==value?children[i].style.display="block":children[i].style.display="none"; 
				filters[0].play(); 		
			}
		}
		catch(e)
		{
			var d = document.getElementById("au").getElementsByTagName("div");
			for(i=0;i<6;i++)
				i==value?d[i].style.display="block":d[i].style.display="none"; 
		}
	}
	function conaus(value){
		try
		{
			with (conau){	
					for(i=0;i<6;i++)i==value?children[i].style.display="block":children[i].style.display="none"; 					
			}
		}
		catch(e){
			var d = document.getElementById("conau").getElementsByTagName("div");
			for(i=0;i<6;i++)i==value?d[i].style.display="block":d[i].style.display="none"; 
		}
	
	}
	function clearAuto(){clearInterval(autoStart)}
	function setAuto(){autoStart=setInterval("auto(n)", 4000)}
	function auto(){
		n++;
		if(n>5)n=0;
		Mea(n);
		conaus(n);
	} 
	
</script>
</head>
<body>
<div class="div_topflash" ><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="1000" height="188">
          <param name="movie" value="top_index.swf">
          <param name="quality" value="high">
          <embed src="/images/top_index.swf"  type="application/x-shockwave-flash" width="1000" height="188">
        </object>
</div>
<div class="container_16">
  <div class="grid_16">
  <div id="nav">
      <ul>
      	<li><a href="/view">首页</a></li>
        <?php foreach ($queryColumns->result() as $row){?>
   			<li><a href="/view/render/<?=$row->cid?>"><?=$row->cname?></a></li>
   		<?php }?>
      </ul>
    </div>
  <div class="clear"></div>
  <div style="border-top:solid 1px #dddddd;margin-top:10px;"></div>		
  </div>
  <div class="grid_16">
  	<div class="grid_4 alpha">领导简介</div>
  	<div class="grid_12 omega">
  		<div class="grid_5 alpha">
       		<div id="focus">
       		<div id="au" >
			<div style="display: block"><a href="#" target="_blank"><img src="/upfiles/images/10.JPG" /></a></div>
			<div style="display: none"><a href="#" target="_blank"><img src="/upfiles/images/11.JPG" /></a></div>
			<div style="display: none"><a href="#" target="_blank"><img src="/upfiles/images/12.JPG" /></a></div>
			<div style="display: none"><a href="#" target="_blank"><img src="/upfiles/images/13.JPG" /></a></div>
			<div style="display: none"><a href="#" target="_blank"><img src="/upfiles/images/14.JPG" /></a></div>
			<div style="display: none"><a href="#" target="_blank"><img src="/upfiles/images/4ec9f810b71b4.JPG" /></a></div>
			</div>
			<div id="no" style="display: none"></div>
			<div class="lunbo">
			<table border="0" cellPadding="0" cellSpacing="0" align="right">
			<tr>
			<td class="active" id="t0" onmouseover="Mea(0);clearAuto();" onmouseout="setAuto();">1</td>
			<td width="6"></td>
			<td class="bg" id="t1" onmouseover="Mea(1);clearAuto();" onmouseout="setAuto();">2</td>
			<td width="6"></td>
			<td class="bg" id="t2" onmouseover="Mea(2);clearAuto();" onmouseout="setAuto();">3</td>
			<td width="6"></td>
			<td class="bg" id="t3" onmouseover="Mea(3);clearAuto();" onmouseout="setAuto();">4</td>
			<td width="6"></td>
			<td class="bg" id="t4" onmouseover="Mea(4);clearAuto();" onmouseout="setAuto();">5</td>
			<td width="6"></td>
			<td class="bg" id="t5" onmouseover="Mea(5);clearAuto();" onmouseout="setAuto();">6</td>
			</tr>
			</table>
			</div>
			<div id="conau">
			<div>2011鄂港（粤）经贸合作洽谈活动在港拉开帷幕</div>
			<div style="display: none">李鸿忠、王国生会见台湾沪士电子集团董事长吴礼淦 周先旺厅长参加会见</div>
			<div style="display: none">cc</div>
			<div style="display: none">dd</div>
			<div style="display: none">ee</div>
			<div style="display: none">ff</div>
			</div>
			</div>
			
	    </div>
	    <div class="grid_5">
	    <div style="padding-top:10px;">
			 <h5>通知新闻</h5>
			<table border="1" cellpadding="5" >
			<?php if(isset($querytongzhi)){ foreach ($querytongzhi->result() as $row){?>
   				<tr><td><a href="/view/render/<?=$row->aid?>"><?=$row->title?></a></td></tr>
   			<?php }}?>
			</table></div>
	    </div>
	    <div class="grid_2 omega">
			工作动态
	    </div>
  		
	</div>
  </div>
</div>
<script type="text/javascript">setAuto(); </script>
</body>
</html>